home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1995 / MacHack 1995.toast / Presentations / Presentations ’91 / DAL Files / README.DAL < prev   
Text File  |  1991-06-19  |  3KB  |  63 lines

  1. Intro:
  2.  
  3. DALtool.6 and DALtool.7 provide a minimal environment in which you can enter in
  4. DAL fragments and see their results (assuming your Mac is attached to a network
  5. that contains a DAL server, of course!) I think these programs are much better
  6. than the DAL fragment testers distributed with some of the DAL development
  7. packages. (On the otherhand, my routines could use *a lot* of cleaning
  8. up, etc....next version ;-))
  9.  
  10. I apologize for there being two different programs, but this way the different 
  11. calls to the DAL API are absolutely separated and a smaller amount of confusion
  12. should be had by all.
  13.  
  14. Browsing the Code:
  15.  
  16. I hacked this code together pretty quickly, and as such is mostly undocumented...
  17. The module DalDalInterface.c contains the meaty stuff if you want to see
  18. DAL API calls in action. Pretty much everything else is there purely for the
  19. interface...much of that was lifted from the Macintosh Programming Primer 
  20. series...all mistakes and ugliness are purely my fault.
  21.  
  22. To use:
  23.  
  24. Start a session link with a server by choosing New session and enter your 
  25. connection info. Be sure that your Hosts.cl1 file is properly set up (under
  26. System 6) or you DAL Preferences file under System 7. Those files should
  27. contain examples of the proper layout of a node definition...welcome to the 
  28. black art of DAL networking...
  29.  
  30. Assuming that the entry window comes up, and the output section says that
  31. a successful connection was made, you can start entering DAL fragments. (If
  32. the app was unsuccessful in starting a session, check your Hosts/Preferences
  33. file and your network connection. Also check that your server is alive.)
  34.  
  35. Enter DAL code in the upper input window and send/execute them by pressing the 
  36. Enter key.
  37.  
  38. Misc.:
  39.  
  40. I included a sample text file test.dal which you can modify for your own site.
  41. Also, cut and paste the samples in the accompanying paper to test those functions
  42. and procedures.
  43.  
  44. WARNING: always work on a copy of your database on the server...Murphy's Law
  45. loves rearing its ugly head on databases.
  46.  
  47. If you are interested in discussing/swapping additional DAL aware programs/
  48. fragments/what-have-you, please feel free to contact me...I have
  49. been working on Rdb projects under VMS and a variety of other DBMS systems
  50. under Ultrix for quite some time now. Getting my feet wet in the Macintosh
  51. DAL world has been fun. I hope some of the experiences I have passed on are
  52. remotely helpful to you.
  53.  
  54. -Chris Haupt
  55.  
  56. Reach me at:
  57.  
  58. Christopher Haupt--ISC Software Support  VOICENET: (716) 475 5342           
  59. BITNET  :cfhacc@ritvax.bitnet            INTERNET: cfhacc@ritvax.isc.rit.edu
  60. SNAILNET:RIT;ISC;One Lomb Memorial Dr.;PO BOX 9887;Rochester NY 14623-0887 USA
  61.  
  62.  
  63.